//
//  DKText.m
//  BS1
//
//  Created by 丁侃 on 16/4/24.
//  Copyright © 2016年 丁侃. All rights reserved.
//

#import "DKText.h"

@implementation DKText

-(void)viewDidLoad
{
    [super viewDidLoad];
    
    self.view.backgroundColor = DKRandomColor;
    
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"aaaaa" style:UIBarButtonItemStyleDone target:self action:@selector(push)];
}

-(void)push
{
    UIViewController *vc = [[UIViewController alloc]init];
    vc.view.backgroundColor = DKRandomColor;
    
    [self.navigationController pushViewController:vc animated:YES];
}





@end
